const path = require('path')
const resolve = dir => path.join(__dirname, dir)
module.exports = {
    css: {
        loaderOptions: {
            less: {
                modifyVars: {
                    'primary-color': '#E86B99',
                    'link-color': '#1DA57A',
                    'border-radius-base': '5px',
                },
                javascriptEnabled: true
            }
        },
    },
    configureWebpack: {
        devtool: 'source-map',
        // 配置src根路径
        resolve: {
            alias: {
                '@': resolve('src')
            }
        }
    },
}